<!DOCTYPE html>
<html>
<head>
    <title>日新网 - 专题详情</title>
    <meta name="keywords" content="日新圆桌 日新分享课 日新研习社"/>
    <meta name="description" content="日新网—让新生活更近一点，让科技落地更从容一点。旗下拥有创新行业资讯日新网、
            创新专业培训日新研习社、创新企业孵化成长日新商脉三款产品，以住宅、商业地产、
            写字楼等不同业态物业经营的增效减能与增值创新以及服务标准化、
            物业智能化、信息化等策略方向的创新为主要研究内容，共同助力日新网成为物业行业创新风向标。">
    <meta name="author" content="rixin">
    <meta name="referrer" content="origin">
    <tc_include file="Public:head"/>
    <style type="text/css">
        body{
            padding-top: 0;
        }
        * {
            margin: 0;
            padding: 0;
            font-family: Microsoft YaHei;
        }
        .fr{
            float: right;
        }
        .fl{
            float: left;
        }
        ul li {
            list-style: none;
        }
        a{
            text-decoration:none;
            color:#333;
        }

        a:link, a:visited , a:hover {
            color: #333;
            text-decoration: none;
        }

        .clearfix:after {
            visibility: hidden;
            display: block;
            font-size: 0;
            content: " ";
            clear: both;
            height: 0;
        }
        .clearfix {
            zoom: 1;
        }
        .mult_line_ellipsis4 {
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
        }
        .mult_line_ellipsis2 {
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        .ellipsis1 {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        /*专题pc端样式*/
        /*顶部图片*/
        .special_picture_top {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 50%;
        }
        .special_picture_top img {
            width: 100%;
            height: 100%;
        }
        /*主要内容*/
        .special {
            margin-top: 30%;
            color: #333333;
            position: relative;
            background-color: #fff;
        }
        .special_explain {
            width: 750px;
            margin: 0 auto;
        }
        .special_explain h3 {
            font-size: 24px;
            text-align: center;
            font-weight: bold;
            line-height: 30px;
            margin: 0;
            letter-spacing: 2px;
        }
        .special_explain .text {
            padding: 14px 12px 46px 48px;
            border:1px solid #f9f9f9;
            margin-top: 38px;
            min-height: 52px;
        }
        .special_explain .text .img_ground {
            float: left;
            width: 86px;
            height: 86px;
        }
        .special_explain .text img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
        }
        .special_explain .text .text_word {
            margin-left: 130px;
            font-size: 16px;
            line-height: 26px;
        }
        /*special_nav*/
        .special_nav {
            width: 844px;
            margin: 40px auto 0;
            text-align: center;
            height: 36px;
            line-height: 36px;
            box-shadow: 0px 1px 1px 0px rgba(0,0,0,.1);
        }
        .special_nav a {
            display: inline-block;
            height: 100%;
            width: 164px;
            font-size: 18px;
            color: #000;
            line-height: 18px;
            font-weight: 600;
            letter-spacing: 1px;
            text-align: center;
        }
        /*导航样式*/
        .special .special_nav_avtive {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 36px;
            line-height: 36px!important;
            z-index: 9999;
            background-color: #fff;
            text-align: center;
            margin-top: 0px;
        }
        .special .special_nav_avtive a {
            line-height: 36px;
        }
        /*公共标题*/
        .special h4.title {
            font-size: 16px;
            line-height: 16px;
            font-weight: 600;
            padding: 42px 0 0px;
            letter-spacing: 1px;
            color: #000;
            width: 750px;
            margin: 0 auto 24px;
        }
        /*专题课程*/
        .special_lecture {
            width: 930px;
            margin: -20px auto 0;
        }
        .special_lecture_item {
            width: 280px;
            margin:20px 14px 0px;
            float: left;
            border: solid 1px #efefef;
            border-radius: 10px;
            overflow: hidden;
            transition: all 250ms;
            -moz-transition: all 250ms;
            -webkit-transition: all 250ms;
            -o-transition:  all 250ms;
        }
        .special_lecture_item:hover, .special_article_item:hover, .special_pulse_item:hover, .special_activity_item:hover{
            transform: scale(1.02,1.02);
            box-shadow: 6px 2px 10px 1px rgba(0,0,0,.2);
        }
        .special_lecture_item .img_ground {
            height: 156px;
        }
        .special_lecture_item .img_ground img {
            width: 100%;
            height: 100%;
        }
        .special_lecture_item .text {
            font-size: 18px;
            line-height: 22px;
            margin-top: 4px;
            padding: 0 10px 8px;
            font-weight: bold;
        }
        .special_lecture_item .btm_person {
            margin-top: 7px;
        }
        .special_lecture_item .btm_person img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 5px;
        }
        .special_lecture_item .btm_person span {
            font-size: 12px;
            font-weight: bolder;
        }
        /*相关文章*/
        .special_article {
            width: 750px;
            margin: 0 auto;
        }
        .special_article_item {
            padding: 15px 13px;
            border-radius: 10px;
            border:1px solid #f9f9f9;
            margin-bottom: 20px;
            transition: all 250ms;
            -moz-transition: all 250ms;
            -webkit-transition: all 250ms;
            -o-transition:  all 250ms;
        }
        .special_article .special_article_item:last-child{
            margin-bottom: 0;
        }
        .special_article_item .img_ground {
            float: left;
            width: 230px;
            height: 150px;
        }
        .special_article_item .img_ground img {
            width: 100%;
            height: 100%;
        }
        .special_article_item .text {
            height: 150px;
            margin-left: 242px;
        }
        .special_article_item .text h4 {
            height: 40px;
            margin: 0;
            font-size: 16px;
            line-height: 20px;
            font-weight: 600;
        }
        .special_article_item .text .text_word {
            height: 82px;
            font-size: 14px;
            line-height: 20px;
            margin-top: 8px;
        }
        .special_article_item .text .btm_icon {
            font-size: 12px;
            line-height: 12px;
            margin-top: 8px;
        }
        .special_article_item .text .name {
            margin-right: 28px;
        }
        /*日新商脉*/
        .special_pulse {
            width: 756px;
            margin: 0 auto;
            margin-top: -15px;
        }
        .special_pulse_item {
            float: left;
            width: 216px;
            height: 124px;
            padding: 17px 12px 19px;
            border: 1px solid #efefef;
            border-radius: 10px;
            margin-right: 15px;
            margin-top: 15px;
            position: relative;
            transition: all 250ms;
            -moz-transition: all 250ms;
            -webkit-transition: all 250ms;
            -o-transition:  all 250ms;
        }
        .special_pulse_item:before{
            content: "";
            position:absolute;
            top: -1px;
            left: 36px;
            width: 32px;
            height: 4px;
            background-color: #c8161d;
        }
        .special_pulse .special_pulse_item:nth-of-type(3n){
            margin-right: 0;
        }
        .special_pulse_item .top {
            position: relative;
            padding-left: 92px;
            height: 64px;
            padding-top: 16px;
        }
        .special_pulse_item .top .logo {
            position: absolute;
            top: 0px;
            left: 0px;
            width: 80px;
            height: 80px;
            border-radius: 50%;
        }
        .special_pulse_item .top .name {
            display: inline-block;
            font-size: 18px;
            color: #000;
            font-weight: bold;
            letter-spacing: 1px;
            line-height: 24px;
            width: 136px;
            height: 24px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .special_pulse_item .top .money {
            font-size: 12px;
            color: #000232;
            font-weight: bolder;
            line-height: 24px;
        }
        .special_pulse_item .btm {
            margin-top: 10px;
            font-size: 14px;
            line-height: 18px;
            color: #000232;
            font-weight: bolder;
        }
        /*线下活动*/
        .special_activity {
            width: 634px;
            margin: 0 auto;
        }
        .special_activity_item{
            float: left;
            width: 300px;
            height: 260px;
            margin-right: 30px;
            border: 1px solid #efefef;
            -webkit-border-radius:10px;
            -moz-border-radius: 10px;
            border-radius: 10px;
            position: relative;
            margin: 0 30px 24px 0;
            transition: all 250ms;
            -moz-transition: all 250ms;
            -webkit-transition: all 250ms;
            -o-transition:  all 250ms;
        }
        .special_activity_item:nth-of-type(2n){
            margin-right: 0;
        }
        .special_activity_item .img_ground {
            height: 170px;
        }
        .special_activity_item .img_ground img {
            height: 100%;
            width: 100%;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
        .special_activity_item .text {
            padding: 8px 14px 10px;
        }
        .special_activity_item .text p {
            font-size: 12px;
            line-height: 12px;
            color: #333333;
            font-weight: bolder;
            letter-spacing: 1px;
        }
        .special_activity_item .text h4{
            font-size: 18px;
            font-weight: bold;
            letter-spacing: 1px;
        }
        .special_activity_item .activity_icon {
            position: absolute;
            top: -8px;
            left: 18px;
            width: 14px;
            height: 46px;
            padding:4px;
            line-height: 15px;
            font-size: 12px;
            font-weight: bolder;
            background-color: #c5c5c5;
            color: #fff;
        }
        .special_activity_item .active {
            background-color: #c8161d;
        }

    </style>
</head>
<body class="body-white ">
<div class="special_picture_top">
    <img src="{:sp_get_asset_upload_path($subject_info['pc_img'])}" alt="">
</div>
<div class="content special">
        <!--标题说明-->S
        <div class="special_explain">
            <h3>{$subject_info['name']}</h3>
            <if condition="!empty($subject_info['policy'])">
                <div class="text">
                    <div class="img_ground">
                        <img src="{:sp_get_asset_upload_path($subject_info['icon'])}" alt="">
                    </div>
                    <div class="text_word">{$subject_info['policy']}</div>
                </div>
            </if>
        </div>
        <!--nav-->
        <div class="special_nav">
            <if condition="!empty($lesson_subject_lists)">
                <a href="#tab1">专题课程</a>
            </if>
            <if condition="!empty($articles)">
                <a href="#tab2">相关文章</a>
            </if>
            <if condition="!empty($services)">
                <a href="#tab3">日新商脉</a>
            </if>
            <if condition="!empty($cases)">
                <a href="#tab4">行业案例</a>
            </if>
            <if condition="!empty($activitys)">
                <a href="#tab5">线下活动</a>
            </if>
        </div>
        <!--专题课程-->

        <if condition="!empty($lesson_subject_lists)">
            <h4 class="title" id="tab1">专题课程</h4>
            <div class="special_lecture clearfix">
                <volist name="lesson_subject_lists" id="vo">
                    <div class="special_lecture_item">
                        <a href="{:U('Lesson/Lesson/lesson_list', ['subject_id' => $vo['id']])}">
                            <div class="img_ground">
                                <img src="{:sp_get_asset_upload_path($vo['subject_img'])}" alt="">
                            </div>
                            <div class="text mult_line_ellipsis2">{$vo.subject_name}</div>
                        </a>
                    </div>
                </volist>
            </div>
        </if>


        <!--相关文章-->
        <if condition="!empty($articles)">
            <h4 class="title" id="tab2">相关文章</h4>
            <div class="special_article">
                <volist name="articles" id="vo">
                    <php>
                        $smeta = json_decode($vo['smeta'], true);
                    </php>
                    <div class="special_article_item">
                        <a href="{:U('Portal/Article/article_info', ['id' => $vo['id']])}">
                            <div class="img_ground">
                                <img src="{:sp_get_asset_upload_path($smeta['thumb'])}" alt="">
                            </div>
                            <div class="text">
                                <h4 class="mult_line_ellipsis2">{$vo.post_title}</h4>
                                <div class="text_word mult_line_ellipsis4">{$vo.post_excerpt}</div>
                                <div class="btm_icon">
                                    <volist name="vo.label_names" id="vo_label_name">
                                        <span>{$vo_label_name}</span>
                                    </volist>
                                    <span class="fr">{:time_format($vo['post_date'])}</span>
                                    <span class="name fr">{$vo.post_author_name}</span>
                                </div>
                            </div>
                        </a>
                    </div>
                </volist>
            </div>
        </if>


        <!--日新商脉-->
        <if condition="!empty($services)">
            <h4 class="title" id="tab3">日新商脉</h4>
            <div class="special_pulse clearfix">
                <volist name="services" id="vo">
                    <div class="special_pulse_item">
                        <a href="{:U('Service/Index/service_info', ['id' => $vo['id']])}">
                            <div class="top clearfix">
                                <img class="logo" src="{:sp_get_image_preview_url($vo['logo'])}" alt="">
                                <p class="name">{$vo.company_name}</p> <br>
                                <p class="money">{$vo['financing']['round']}</p>
                            </div>
                            <div class="btm">{$vo.company_desc}</div>
                        </a>
                    </div>
                </volist>
            </div>
        </if>


        <!--行业案例-->
        <if condition="!empty($cases)">
            <h4 class="title" id="tab4">行业案例</h4>
            <div class="special_article">
                <volist name="cases" id="vo">
                    <php>
                        $smeta = json_decode($vo['smeta'], true);
                    </php>
                    <div class="special_article_item">
                        <a href="{:U('Portal/Article/article_info', ['id' => $vo['id']])}">
                            <div class="img_ground">
                                <img src="{:sp_get_asset_upload_path($smeta['thumb'])}" alt="">
                            </div>
                            <div class="text">
                                <h4 class="mult_line_ellipsis2">{$vo.post_title}</h4>
                                <div class="text_word mult_line_ellipsis4">{$vo.post_excerpt}</div>
                                <div class="btm_icon">
                                    <volist name="vo.label_names" id="vo_label_name">
                                        <span>{$vo_label_name}</span>
                                    </volist>
                                    <span class="fr">{:time_format($vo['post_date'])}</span>
                                    <span class="name fr">{$vo.post_author_name}</span>
                                </div>
                            </div>
                        </a>
                    </div>
                </volist>
            </div>
        </if>


        <!--线下活动-->
        <if condition="!empty($activitys)">
            <h4 class="title" id="tab5">线下活动</h4>
            <div class="special_activity clearfix">
                <volist name="activitys" id="vo">
                    <div class="special_activity_item">
                        <a href="{$vo.link_addr}">
                            <span class="activity_icon {$vo['act_status_code'] < 3 ? 'active' : ''}">{$vo.act_status}</span>
                            <div class="img_ground">
                                <img src="{:sp_get_asset_upload_path($vo['thumb']['thumb'])}" alt="">
                            </div>
                            <div class="text">
                                <p>{$vo.form_type_name}</p>
                                <h4 class="mult_line_ellipsis2">{$vo.name}</h4>
                            </div>
                        </a>
                    </div>
                </volist>
            </div>
        </if>
    </div>
<tc_include file="Public:footer"/>
<tc_include file="Public:scripts"/>
<script src="/public/js/jquery.js"></script>
<!--专栏导航位置计算-->
<script>
    $(function () {
        var pageTop = $(".special_nav").offset().top;
        var screeHeight = $(window).height();
        $(".special").css({
            marginTop:screeHeight/2 + 20,
        });
        $(window).scroll(function(){
            var scrollTop = $(window).scrollTop();
            if (pageTop <= scrollTop ) {
                $(".special_nav").addClass("special_nav_avtive");
            }else {
                $(".special_nav").removeClass("special_nav_avtive");
            }
        });
    })
</script>

</body>
</html>